<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <%
String path = request.getContextPath();
pageContext.setAttribute("APP_PATH",path);
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
    <link href="${APP_PATH}/static/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="${APP_PATH}/static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${APP_PATH}/static/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript">
  	function submitClick(){
	  	var str=$('#jobexpform').serialize()+"&code=${id}";
	  	$.ajax({
	  		url:"${APP_PATH}/jobexp",
	  		data:str,
	  		contentType: "application/x-www-form-urlencoded; charset=utf-8",  
	  		type:"POST",
	  		success:function(result){
			  	window.open("${APP_PATH}/"+result,"_self");
	  		}
	  	});
  	};
  
  </script>
    <base href="<%=basePath%>">
    <title>简历7</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  <style>
    .headercolor { 
      background-color: #99d9ea; }
  </style>
  
  </head>
  
  <body>
  <div class="headercolor">
  <br/>
  <br/>
  <p class="text-center"><img src="${APP_PATH}/images/logo.jpg" alt="logo" width="600" height="300"/></p>
  <br/>
  </div>
  <h1><p class="text-center">个人简历</p></h1>
  <h3><p class="text-center">工作经历</p></h3>
<form id="jobexpform" class="form-horizontal">
  <div class="form-group">
    <label for="inputJobExp" class="col-sm-3 control-label">工作经历</label>
    <div class="col-sm-6">
      <textarea  rows="5" cols="20"  type="text" class="form-control" id="inputJobExp" name="wExperience"></textarea>
    </div>
  </div>
  <br/>
  <div class="form-group">
    <label for="inputSkills" class="col-sm-3 control-label">技能特长</label>
    <div class="col-sm-6">
      <textarea rows="5" cols="20"  type="text" class="form-control" id="inputSkills" name="skills"></textarea>
    </div>
  </div>
  <br/>
  <div class="form-group">
    <label for="inputIntroduction" class="col-sm-3 control-label">自我介绍</label>
    <div class="col-sm-6">
      <textarea rows="5" cols="20"  type="text" class="form-control" id="inputIntroduction" name="introduction" placeholder="不少于100字"></textarea>
    </div>
  </div>
  <br/>
  <div class="form-group">
    <p class="text-center">
      <button type="button" class="btn btn-info btn-lg" onclick="submitClick()">下一步</button>
    </p>
  </div>
</form>
</body>
</html>